<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>测试height width</title>
	<style>
		div{
			height: 200px;
			width: 100px;
			border: 3px dotted green;
			margin: 2px;
		}
	</style>
	<script type="text/javascript" src="./lib/jquery.min.js"></script>
</head>
<body>
	<div>
		demo
	</div>
	<script>
		var ht = $('div:first').click(function(){
			$(this).height(100);
		}).height();
		console.log(ht);
		console.log('outerHeight-false:'+$('div:first').outerHeight(false)+'outerHeight-true:'+$('div:first').outerHeight(true));
	</script>
</body>
</html>